#ifndef DIALOGWINDOW_H
#define DIALOGWINDOW_H

#include <QDialog>
#include <QTextEdit>
#include <QVBoxLayout>
#include <QPushButton>
#include "Contact.h"

class Contact;
//void Contact::sendMsg(QString text);
class DialogWindow : public QDialog
{
    Q_OBJECT

    public:
        DialogWindow(Contact* contact, QWidget *parent = 0);

    public slots:
        void sendMsg(QString name="ja");
        void DisplayMsg(QString autor, QString text );

    private:

        QTextEdit* okno;
        QTextEdit* poleEdycji;
        QPushButton* wyslij;
        Contact* contact;


};



#endif // DIALOGWINDOW_H
